.container {
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: #f5f5f5;
  overflow-y: auto;
}

.emptyState {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #999;
  font-size: 14px;
}

.header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.header h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.elementName {
  font-size: 14px;
  color: #666;
}

.propertiesSection {
  margin-bottom: 25px;
}

.propertiesSection h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 500;
  color: #555;
}

.sizeControl {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputGroup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inputGroup label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.inputWithUnit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inputWithUnit input[type='number'] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.inputWithUnit input[type='number']:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.inputWithUnit span {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
}

.lockRatioControl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.lockRatioControl input[type='checkbox'] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.lockRatioControl label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.styleControl {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputWithUnit input[type='range'] {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #d0d0d0;
  outline: none;
  -webkit-appearance: none;
}

.inputWithUnit input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1890ff;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inputWithUnit input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1890ff;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shapeControl {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.shapeControl input[type='color'] {
  width: 100%;
  height: 40px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  cursor: pointer;
  background: none;
}

.textControl {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.textControl input[type='text'] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.textControl input[type='text']:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 滚动条样式 */
.container::-webkit-scrollbar {
  width: 8px;
}

.container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.container::-webkit-scrollbar-thumb:hover {
  background: #999;
}
